<p id="notice"><%= notice %></p>

<p>
  <b>Name:</b>
  <%= @clinic.name %>
</p>

<p>
  <b>Location:</b>
  <%= @clinic.location %>
</p>

<center>
<table width=100% border=1>
<tr>
  <th>Patient Name</th>
  <th>Phone number</th>
</tr>
<% @patients.each do |patient| %>
  <tr>
    <td align=center><%= link_to patient.name, patient %></td>
    <td align=center><%= patient.phone_number %></td>
  </tr>
<% end %>
</table>
</center>
<%= link_to 'Edit', edit_clinic_path(@clinic) %> |
<%= link_to 'Back', clinics_path %>
